package com.hollycrm.springframework.dbaccesslog;

import java.text.SimpleDateFormat;

public interface  DBAccessManager {

    public final static String BEAN_ID = "dbAccessManager";
    public final static SimpleDateFormat y2s = new SimpleDateFormat(
        "yyyy-MM-dd HH:mm:ss");

    public DBAccessLog initialLog(String serviceName, String sqlText);
    public void saveLog(DBAccessLog log, boolean isComplete);

}
